package com;

import cn.hutool.http.HttpRequest;
import cn.hutool.http.HttpUtil;

/**
 * @Description
 * @Author Vincent.jiao
 * @Date 2024/12/12 14:29
 */
public class DouBan {
    public static void main(String[] args) {
        //搜索书籍
//        https://book.douban.com/j/subject_suggest?q=%E4%BA%8C%E5%8F%B7%E9%A6%96%E9%95%BF

        //查询数据详情页
        HttpRequest request = HttpUtil.createGet("https://book.douban.com/subject/2979191/");
        System.out.println(request.execute().body());
    }
}
